package com.clayecloud.common.mappers;

import com.clayecloud.common.entity.ReportForRepair;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author ClayeLink
 * @date 2022/4/6 9:06
 */
@Mapper
public interface ReportForRepairMapper {
    int deleteByPrimaryKey(Long rrId);

    int insert(ReportForRepair record);

    int insertSelective(ReportForRepair record);

    ReportForRepair selectByPrimaryKey(Long rrId);

    int updateByPrimaryKeySelective(ReportForRepair record);

    int updateByPrimaryKey(ReportForRepair record);

    int updateBatch(List<ReportForRepair> list);

    int batchInsert(@Param("list") List<ReportForRepair> list);

    List<ReportForRepair> selectAll();

    List<ReportForRepair>  selectByUserId(Long userId);
}